package com.syt.eduorder.client;

import com.syt.entity.CourseWebVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

@Component
@FeignClient("service-edu")
public interface EduClient {
    //更具课程Id查询课程信息
    @PostMapping("/eduservice/coursefront/{id}")
    public CourseWebVO getCourseInfoOrder(@PathVariable("id") String id);
}
